/**
 * @mbg.generated generator on Tue Apr 04 23:28:02 CST 2023
 */
package com.ybox.app.service.impl;

import com.ybox.app.api.domain.AppCollectArticle;
import com.ybox.app.domain.example.AppCollectArticleExample;
import com.ybox.app.mapper.AppCollectArticleMapper;
import com.ybox.app.service.AppCollectArticleService;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;

@Service
public class AppCollectArticleServiceImpl implements AppCollectArticleService {
    private final AppCollectArticleMapper appCollectArticleMapper;

    public AppCollectArticleServiceImpl(AppCollectArticleMapper appCollectArticleMapper) {
        this.appCollectArticleMapper = appCollectArticleMapper;
    }

    /**
     * countByExample
     * @param example example
     * @return long long
     */
    @Override
    public long countByExample(AppCollectArticleExample example) {
        return appCollectArticleMapper.countByExample(example);
    }

    /**
     * deleteByExample
     * @param example example
     * @return int int
     */
    @Override
    public int deleteByExample(AppCollectArticleExample example) {
        return appCollectArticleMapper.deleteByExample(example);
    }

    /**
     * deleteByPrimaryKey
     * @param articleId articleId
     * @return int int
     */
    @Override
    public int deleteByPrimaryKey(String articleId) {
        return appCollectArticleMapper.deleteByPrimaryKey(articleId);
    }

    /**
     * insert
     * @param row row
     * @return int int
     */
    @Override
    public int insert(AppCollectArticle row) {
        return appCollectArticleMapper.insert(row);
    }

    /**
     * insertSelective
     * @param row row
     * @return int int
     */
    @Override
    public int insertSelective(AppCollectArticle row) {
        return appCollectArticleMapper.insertSelective(row);
    }

    /**
     * selectByExampleWithBLOBs
     * @param example example
     * @return List<AppCollectArticle> List<AppCollectArticle>
     */
    @Override
    public List<AppCollectArticle> selectByExampleWithBLOBs(AppCollectArticleExample example) {
        return appCollectArticleMapper.selectByExampleWithBLOBs(example);
    }

    /**
     * selectByExample
     * @param example example
     * @return List<AppCollectArticle> List<AppCollectArticle>
     */
    @Override
    public List<AppCollectArticle> selectByExample(AppCollectArticleExample example) {
        return appCollectArticleMapper.selectByExample(example);
    }

    /**
     * selectByPrimaryKey
     * @param articleId articleId
     * @return AppCollectArticle AppCollectArticle
     */
    @Override
    public AppCollectArticle selectByPrimaryKey(String articleId) {
        return appCollectArticleMapper.selectByPrimaryKey(articleId);
    }

    @Override
    public List<AppCollectArticle> selectCollectArticleList(AppCollectArticle appCollectArticle) {
        return appCollectArticleMapper.selectCollectArticleList(appCollectArticle);
    }

    /**
     * updateByExampleSelective
     * @param row row
     * @param example example
     * @return int int
     */
    @Override
    public int updateByExampleSelective(AppCollectArticle row, AppCollectArticleExample example) {
        return appCollectArticleMapper.updateByExampleSelective(row, example);
    }

    /**
     * updateByExampleWithBLOBs
     * @param row row
     * @param example example
     * @return int int
     */
    @Override
    public int updateByExampleWithBLOBs(AppCollectArticle row, AppCollectArticleExample example) {
        return appCollectArticleMapper.updateByExampleWithBLOBs(row, example);
    }

    /**
     * updateByExample
     * @param row row
     * @param example example
     * @return int int
     */
    @Override
    public int updateByExample(AppCollectArticle row, AppCollectArticleExample example) {
        return appCollectArticleMapper.updateByExample(row, example);
    }

    /**
     * updateByPrimaryKeySelective
     * @param row row
     * @return int int
     */
    @Override
    public int updateByPrimaryKeySelective(AppCollectArticle row) {
        return appCollectArticleMapper.updateByPrimaryKeySelective(row);
    }

    /**
     * updateByPrimaryKeyWithBLOBs
     * @param row row
     * @return int int
     */
    @Override
    public int updateByPrimaryKeyWithBLOBs(AppCollectArticle row) {
        return appCollectArticleMapper.updateByPrimaryKeyWithBLOBs(row);
    }

    /**
     * updateByPrimaryKey
     * @param row row
     * @return int int
     */
    @Override
    public int updateByPrimaryKey(AppCollectArticle row) {
        return appCollectArticleMapper.updateByPrimaryKey(row);
    }

    @Override
    public int updateBatch(List<AppCollectArticle> list) {
        return appCollectArticleMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<AppCollectArticle> list) {
        return appCollectArticleMapper.updateBatchSelective(list);
    }

    @Override
    public Map<String, Integer> selectCount(Long userId) {
        return appCollectArticleMapper.selectCount(userId);
    }

    @Override
    public List<AppCollectArticle> selectNoneCollectId(AppCollectArticle appCollectArticle) {
        return appCollectArticleMapper.selectNoneCollectId(appCollectArticle);
    }
}